from flask import Flask,redirect,render_template

app = Flask(__name__)


@app.route('/')
def index():
    return render_template('index.html')


@app.route('/user/<name>')
def user(name):
    return render_template('user.html',username=name)

@app.route('/tmp')
def temp():
    mydicttest = {"key":'this is key value',"test2":"value2"}
    mylist = [11,22,34,41,54,65]
    return render_template('tmp.html',dicttest=mydicttest,mylist=mylist)


